{include file=header.html}
<link type="text/css" href="{res file=css/integral.css}" rel="stylesheet"  />
<div id="integral"  class="w-full">
    <div  class="col-1 w clearfix">
        <!--{if $user}-->
        <div class="personal">
            <div class="info">
                <div class="pic">
                    <div class="avatar">
                        <img src="{$user.portrait}" alt="{$user.user_name|escape}">
                        <a class="tips" href="{url app=member}" target="_blank">
                            <p>{$lang.total_point}:</p>
                            <p>{$user.ugrade.total_integral}</p>
                        </a>
                    </div>
                </div>
                <div class="text">
                    <p class="pname">{$lang.dear}<span class="name" title="{$user.user_name|escape}">{$user.user_name|escape}</span></p>
                    <p class="">{$lang.welcome_back}</p>
                    <p class="exp">
                        <a href="{url app=member}" target="_blank">
                            {$lang.member_level}{$user.ugrade.higher_grade_name}
                        </a>
                    </p>
                </div>
            </div>
            
            <ul class="assets">
                <li>
                    <span class="key">{$lang.my_total_integral}</span>
                    <a class="value" href="{url app=member}" target="_blank">
                        {$user.total_integral|escape} {$lang.integral}
                    </a>
                </li>
                <li class="rowbg">
                    <span class="key">{$lang.can_use_integral}</span>
                    <a href="{url app=member}" target="_blank" class="value">
                        {$user.integral|escape} {$lang.integral}
                    </a>
                </li>
            </ul>
        </div>
        <!--{else}-->
        <div class="personal">
            <a href="{url app=member&act=login}" class="login">{$lang.login_right_now}</a>
            <a href="{url app=member&act=register}" class="register">{$lang.register_now}</a>
        </div>
        <!--{/if}-->
        <div class="right" area="col-1" widget_type="area">
            <!--{widgets page=integral area=col-1}-->
        </div>
    </div>
    
    
    <div  class="col-2 w clearfix" area="col-2" widget_type="area" data-position="1">
        <!--{widgets page=integral area=col-2}-->
    </div>
    
    
    <div class="integral_floor w clearfix">
        <div class="mt">
            <h3>{$lang.deduct_points}</h3>
        </div>
        <div class="mc clearfix" style="padding: 20px 0">
            <ul class="clearfix">
                <!--{foreach from=$goods_list item=goods name=fe_goods}-->
                <li>
                    <div class="pic">
                        <a href="{url app=goods&id=$goods.goods_id}" target="_blank" ><img class="lazyload" initial-url="{$goods.default_image}" /></a>
                    </div>

                    <div class="goods_name">
                        <a href="{url app=goods&id=$goods.goods_id}" target="_blank">{$goods.goods_name|escape}</a>
                        <span class="icon"></span>
                    </div>
                    <div class="goods_price">
                        {$goods.price|price}
                    </div>
                    <div class="goods_integral">
                        {$lang.can_used}<span class="red">{$goods.integral_max_exchange}{$lang.integral}</span>
                    </div>
                    <div class="btn">
                        <a href="{url app=goods&id=$goods.goods_id}" target="_blank" >{$lang.purchase_now}</a>
                    </div>
                </li>
                <!--{/foreach}-->
            </ul>
            <!--{if !$goods_list_order}-->{include file=page.bottom.html}<!--{/if}-->
        </div>
        
    </div>
    
    
    
    
    
    
    
    <div  class="col-3 w clearfix" area="col-3" widget_type="area" data-position="1">
        <!--{widgets page=integral area=col-3}-->
    </div>
    
    
</div>


{include file=footer.html}